import { lazy } from 'react'

export default {
  // 根据后端返回数据code字段映射组件
  home: lazy(() => import('@/views/home')),
  application: lazy(() => import('@/views/efficient/application')),
  server: lazy(() => import('@/views/efficient/server')),
  environment: lazy(() => import('@/views/efficient/environment')),
  task: lazy(() => import('@/views/release/task')),
  taskDetail: lazy(() => import('@/views/release/taskDetail')),
  taskLog: lazy(() => import('@/views/release/taskLog')),
  serverSSH: lazy(() => import('@/views/release/serverSSH')),
  user: lazy(() => import('@/views/auth/user')),
  role: lazy(() => import('@/views/auth/role')),
  menu: lazy(() => import('@/views/auth/menu')),
}
